package com.pine.common.beans.pineframework.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 系统角色表修改状态请求体
 * </p>
 *
 * @author pine manage
 * @since 2024-08-16
 */
@Data
@Schema(title = "SysRoleUpdateStatusRequest", description = "系统角色表修改状态请求体")
public class SysRoleUpdateStatusRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = -1603345807385263689L;

    @NotNull(message = "id不能为空")
    @Schema(title = "id", description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @NotNull(message = "状态不能为空")
    @Schema(title = "status", description = "状态:0=启用,1=禁用", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;
}
